<%@ page pageEncoding="UTF-8"%>
<%@ taglib prefix="isperp" uri="/WEB-INF/tlds/isperp.tld"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>


<table class="form-table">
	<tr>
		<td class="td2" colspan="4">
			<div class="header">
				<h3>客户关闭与评价</h3>
			</div>
		</td>
	</tr>

<tr>
	<td class="td1">关闭码：</td>
	<td class="td2">${model.closeCode }
</tr>
<tr>
	<td class="td1">客户评价：</td>
	<td class="td2"><c:if test="${model.satisfaction eq '5' }">
			    非常满意
			</c:if> <c:if test="${model.satisfaction eq '4' }">
			    满意
			</c:if> <c:if test="${model.satisfaction eq '3' }">
			    一般
			</c:if> <c:if test="${model.satisfaction eq '2' }">
			    不评价
			</c:if> <c:if test="${model.satisfaction eq '1' }">
			    不满意
			</c:if> <c:if test="${model.satisfaction eq '0' }">
			    尚未评价
			</c:if>
	</td>
</tr>
<tr>
	<td class="td1">评价时间：</td>
	<td class="td2"><fmt:formatDate value="${model.closedDate}"
			pattern="yyyy-MM-dd HH:mm" /></td>
</tr>
<tr>
	<td class="td1">客户意见：</td>
	<td class="td2">${model.customerOpinion }</td>
</tr>
<tr>
	<td class="td1">是否客户评价：</td>
	<td class="td2"><c:choose>
			<c:when test="${model.areFeedback eq true }">
				<input type="checkbox" checked="checked" disabled="disabled">
			</c:when>
			<c:otherwise>
				<input type="checkbox" disabled="disabled">
			</c:otherwise>
		</c:choose>
	</td>
</tr>
</table>
